<%@ page language="java" import="java.sql.*"%>
<html>
<head>
<title>Read from mySQL Database</title>
</head>
<body>
<center>
<p><font color="#0080FF" size="25">Menu</font></p>
<%
	if(session.getAttribute("logged_in") == "true")
	{
		out.println("<p><h2>Logged In</p><h2>");
		if(session.getAttribute("user_level") == "administrator")
		{
			out.println("<h2>as an Administrator</h2></p>");
			out.println("<a href=add_user.jsp>Add User</a><br>");
			out.println("<a href=delete_user.jsp>Delete User</a><br>");
			out.println("<a href=manage_user.jsp>Manage User</a><br>");
			out.println("<a href=add_screen.jsp>Add Screen</a><br>");
			out.println("<a href=view_screen.jsp>View Screen</a><br>");
			out.println("<a href=delete_screen.jsp>Delete Screen</a><br>");
			out.println("<a href=change_screen.jsp>Change Screen</a><br>");
			out.println("<a href=upload_presentation.jsp>Upload Presentation</a><br>");
			out.println("<a href=delete_presentation.jsp>Delete Presentation</a><br>");
			out.println("<a href=approve_presentation.jsp>Approve Presentation</a><br>");
		}
		else
		{
			out.println("<h2>as a Normal User</h2></p>");
			out.println("<a href=manage_account.jsp>Manage Account</a></p>");
			out.println("<a href=view_screen.jsp>View Screens</a></p>");
			out.println("<a href=view_presentations.jsp>View Presentations</a></p>");
			out.println("<a href=change_screen.jsp>Add Screen</a></p>");
			out.println("<a href=upload_presentation.jsp>Upload Presentation</a></p>");
		}
	}
	else
	{
		out.println("Not Logged In");
	}	
%>
</center>
</body>
</table>
</center>
</div>


</body>
</html>
